<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="keywords" content="">
	<meta name="description" content="">
	<title>令牌管理详细</title>
	<link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
	<link rel="stylesheet" href="/static/include/css/style.css">
</head>

<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m-t" id="signupForm">
			<div class="form-group">
                <label class="col-sm-3 control-label">用户ID：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="id" id="id" field="id" disabled>
                </div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">用户名：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="username" id="username" field="username" disabled>
                </div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">令牌：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="access_token" id="access_token" field="access_token" disabled>
                </div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">类型：</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="token_type" id="token_type" field="token_type" disabled>
                </div>
            </div>
			<div class="form-group">
                <label class="col-sm-3 control-label">过期时间（秒）</label>
                <div class="col-sm-8">
                    <input class="form-control" type="text" name="expires_in" id="expires_in" field="expires_in" disabled>
                </div>
            </div>
			<!-- <div class="form-group">
				<label class="col-sm-2 control-label">用户ID：</label>
				<div class="form-control-static" th:text="${@dict.getLabel('log_type',operLog.type)}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">用户名：</label>
				<div class="form-control-static" th:text="${operLog.title}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">令牌：</label>
				<div class="form-control-static" th:text="${operLog.requestUri}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">类型：</label>
				<div class="form-control-static" th:text="${operLog.createBy}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">创建时间：</label>
				<div class="form-control-static" th:text="${#dates.format(operLog.createTime, 'yyyy-MM-dd HH:mm:ss')}">
				</div>
			</div> -->
		</form>
	</div>
	<script src="/static/include/js/footer.js"></script>
	<script src="/static/pages/sysadm/token/tokenDetail.js"></script>
	<!-- <script src="/static/ajax/libs/jsonview/jquery.jsonview.js"></script>
	<script>
		$(function () {
			// var logId = getQueryString('id');
			roleDetail(1);
			// var userAgent = [[${operLog.userAgent}]];
			// $("#userAgent").text(userAgent);
			// var params = [[${operLog.params}]];
			// $("#params").text(params);
			// var exception = [[${operLog.exception}]];
			// $("#exception").text(exception);
		});

		function roleDetail(id) {
			$.operate.get(api + '/admin/token/' + id, function (res) {
				// res.data.oper = oper
				applyDrawing('#signupForm', res.data)
			}, false)
		}
	</script> -->
</body>

</html>